import request from '@/utils/request'

// 查询行情表列表
export function listPmsMarketCondition(query, pageReq) {
  return request({
    url: '/pms/pmsMarketCondition/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}

// 查询行情表详细
export function getPmsMarketCondition(id) {
  return request({
    url: '/pms/pmsMarketCondition/' + id,
    method: 'get'
  })
}

// 新增行情表
export function addPmsMarketCondition(data) {
  return request({
    url: '/pms/pmsMarketCondition',
    method: 'post',
    data: data
  })
}

// 修改行情表
export function updatePmsMarketCondition(data) {
  return request({
    url: '/pms/pmsMarketCondition',
    method: 'put',
    data: data
  })
}

// 删除行情表
export function delPmsMarketCondition(id) {
  return request({
    url: '/pms/pmsMarketCondition/' + id,
    method: 'delete'
  })
}

// 导出行情表
export function exportPmsMarketCondition(query) {
  return request({
    url: '/pms/pmsMarketCondition/export',
    method: 'get',
    params: query
  })
}
